Contributions to High Performance Fortran Compilation
نویسندگان
چکیده
This study presents our contributions to High Performance Fortran HPF compilation HPF is a data parallel language based on Fortran Directives are used to specify parallelism and data mapping onto distributed memory parallel architectures We aim at translating a global addressing implicit communication HPF pro gram into a message passing parallel model with local addressing and explicit communication The generated code must be both correct and especially e cient Our approach is based on a formalization of compilation technical problems into a mathematical framework and on using standard algorithms for generating optimized code This document is divided into four parts After the introduction which presents scienti c computing and its challenges we describe in the rst part the HPF language which solves some of the encountered problems The weak squaring of HPF with the state of the art in compilation at the time of its design is outlined Compilation techniques developped for HPF are also detailed as the related work In the second part we discuss HPF design issues We rst analyze HPF language design issues show de ciencies and suggest new solutions A simple compilation technique to avoid a language extension aiming at explicitly declaring overlap areas is described Finally we present a possible extension to enable several mappings to be associated to subroutine arguments In the third part we present the compilation techniques First we describe a linear algebra framework for compiling computation and communication This framework is applied and extended to possibly parallel I O Compilation of HPF remappings is then addressed including optimizations to avoid useless remappings and an optimal technique to manage the actual communication taking advantage of broadcast and load balancing opportunities linked to data replication Perfor mance comparisons against the Digital HPF compiler are also presented In the last part we present our prototype HPF compiler around lines of code developed within the PIPS automatic parallelizer environment The im plementation including its weaknesses and extensions is detailed In particular our prototype handles all static and dynamic HPF mapping speci cations as well as parallelism directives The runtime is based on the public domain PVM commu nication library Experiments with codes generated by our compiler on a network of workstations are also described Finally we conclude
منابع مشابه
Interprocedural Compilation of Fortran D (extended Version) Interprocedural Compilation of Fortran D
Fortran D is a version of Fortran extended with data decomposition speciications. It is designed to provide a machine-independent programming model for data-parallel applications and has heavily innuenced the design of High Performance Fortran (HPF). In previous work we described Fortran D compilation algorithms for individual procedures. This paper presents an interprocedural approach to analy...
متن کاملA Compilation Approach for Fortran 90D/ HPF Compilers
This paper describes a compilation approach for a Fortran 90D/HPF compiler, a source-to-source parallel compiler for distributed memory systems. Diierent from Fortran 77 parallelizing compilers, a Fortran90D/HPF compiler does not parallelize sequential constructs. Only par-allelism expressed by Fortran 90D/HPF parallel constructs is exploited. The methodoly of parallelizing Fortran programs suc...
متن کاملCompositional Oil Reservoir Simulation in Fortran D: a Feasibility Study On Intel iPsc/860
This paper describes a study of the use of data-parallel languages such as Fortran D or High Performance Fortran (HPF) and their compilation systems for existing large scienti c applications. The central question addressed in this study is: Do such languages allow the expression of the parallelism available in the applications so that the underlying compilation systems are able to generate e ci...
متن کاملDesign and Implementation of a Fortran Assistant Tool for Vector Compilers
In this paper, we present the design and implementation of source-to-source High Performance Fortran assistant Tool (HPFT) in DEC 3000 workstations. For a given sequential program written in Fortran 77, HPFT generates a vectorized, reuse exploited, and/or parallelized version for vector computers. Several new compilation schemes in vectorization, reuse exploitation, and multi-threading are desi...
متن کاملA Multi-Threads Runtime for the Pandore Data-Parallel Compiler
This paper presents an environment for programming distributed memory computers using a language such as High Performance Fortran. Emphasis is put on compilation techniques for parallel loops and on the associated runtime support. A multi-threads scheme has been deened and implemented in order to eeciently overlap the communication and the computation phases. Un ex ecutif utilisant les processu...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1996